/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.filedownload.service.dto;

import javax.validation.constraints.NotNull;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.query.Query;
import com.jeeplus.core.query.QueryType;
import com.alibaba.excel.annotation.ExcelProperty;
import com.jeeplus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 文件下载DTO
 * @author lll
 * @version 2024-09-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UipFileDownloadsDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	        
	/**
     * 标题
     */
    @Query(type = QueryType.LIKE)
	@ExcelProperty("标题") 
	private String title;
	        
	/**
     * 描述
     */
	@NotNull(message="描述不能为空")
	@ExcelProperty("描述") 
	private String description;
	        
	/**
     * 上传时间
     */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelProperty("上传时间") 
	private Date date;
	        
	/**
     * 附件
     */
	@ExcelProperty("附件") 
	private String text;

}
